package com.lonely.fx.table_view.entity;

/**
 * @date: 2022-08-02 11:04
 * @author: ztkj-hzb
 * @description: 简单的javabean
 **/
public class SimplePerson {

    /**
     * 用户名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 家庭住址
     */
    private String address;

    /**
     * 是否已婚
     */
    private Boolean married;

    public SimplePerson() {
    }

    public SimplePerson(String name, Integer age, String address, Boolean married) {
        this.name = name;
        this.age = age;
        this.address = address;
        this.married = married;
    }

    public String getName() {
        return name;
    }

    public SimplePerson setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getAge() {
        return age;
    }

    public SimplePerson setAge(Integer age) {
        this.age = age;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public SimplePerson setAddress(String address) {
        this.address = address;
        return this;
    }

    public Boolean getMarried() {
        return married;
    }

    public SimplePerson setMarried(Boolean married) {
        this.married = married;
        return this;
    }
}
